﻿@model Janus.Mes.VO.SysConfigVO
@{
    Layout = null;
    var i = 1;
    ViewBag.ViewTitle = "新增-工序检验设置";
}
<div class="pageContent">
    <form method="post" action="System/SysConfig/create?OpID=@ViewData["OperateID"]" class="pageForm required-validate"
          onsubmit="return validateCallback(this, dialogAjaxDone);">
        @Html.ValidationSummary(true)
        <div class="pageFormContent" layouth="56">
            <input id="hidIsCreate" name="hidIsCreate" type="hidden" value="@ViewBag.IsCreate" />
            @Html.HiddenFor(model => model.Id)
            <div style="width:100%">
                <p>
                    <label>
                        料号：
                    </label>
                    <input class="required textInput" name="org1.orgNum" type="text" postfield="keyword" suggestfields="orgNum,orgName," suggesturl="Quality/SampleProcess/Select" lookupgroup="org1" autocomplete="off">
                    <a class="btnLook" rel="Select" href="Quality/InspectionScheme/SelectItem" lookupgroup="org1">选择料号</a>
                </p>
                <p>
                    <label>
                        产品名称：
                    </label>
                    <input class="readonly testInput" id="inputOrg2" readonly="readonly" name="org1.orgName" value="">
                </p>
                <p>
                    <label>
                        产品规格：
                    </label>
                    <input class="readonly testInput" id="inputOrg3" readonly="readonly" name="org1.orgSpec" value="">
                    @*@Html.TextBoxFor(sysConfig => sysConfig.Title, new {@name = "org1.orgSpec" })*@
                </p>
                <p>
                    <label>
                        单位：
                    </label>
                    <input class="readonly testInput" id="inputOrg2" readonly="readonly" name="org1.orgUnit" value="">

                    @*@Html.TextBoxFor(sysConfig => sysConfig.Title, new {@name = "org1.orgUnit" })*@
                </p>
                <p>
                    <label>
                        工艺路线编码：
                    </label>
                    <input class="readonly testInput" id="inputOrg3" readonly="readonly" name="org1.orgSpec" value="">
                    @*@Html.TextBoxFor(sysConfig => sysConfig.Title, new {@name = "org1.orgSpec" })*@
                </p>
                <p>
                    <label>
                        工艺路线名称：
                    </label>
                    <input class="readonly testInput" id="inputOrg2" readonly="readonly" name="org1.orgName" value="">
                </p>
                <p>
                    <label>
                        单位：
                    </label>
                    <input class="readonly testInput" id="inputOrg2" readonly="readonly" name="org1.orgUnit" value="">

                    @*@Html.TextBoxFor(sysConfig => sysConfig.Title, new {@name = "org1.orgUnit" })*@
                </p>
            </div>
            @Html.Partial("Operation", Model)
        </div>

        @Html.Partial("FormButtonBar")
    </form>
</div>
